package com.qnvip.sbd.service;


import com.qnvip.sbd.mybatis.util.UpdateMap;

public interface BaseService {

	public Object insert(Object object);
	
	public void insertNoGeneratedId(Object object);

	public Integer delete(Object object);

	public Integer update(UpdateMap updateMap);
	
	public Integer count(Object condition, String otherCondition);
	
	public Double sum(Object condition, String targetColumn, String otherCondition);
	
	public void updateByUpdateMap(UpdateMap... updateMap);
}
